package org.jypj.dev.model;

import com.google.gson.Gson;

/**
 * @author chenyu
 */
public class StationWeather implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private String id; //主键ID
    private String stationName; //站点名称
    private String weatherCondition; //条件状况（晴，阴等）
    private String weatherDate; //天气日期
    private int weatherHour; //小时数
    private String temp; //温度（单位℃）
    private int windSpeed; //风速
    private String windType; //风力类型（微风，大风等）
    private int isAlert; //是否预警（0不1预警）
    private String queryTime; //查询的是什么时候的天气
    private String createTime; //创建时间

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getStationName() {
        return this.stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getWeatherCondition() {
        return weatherCondition;
    }

    public void setWeatherCondition(String weatherCondition) {
        this.weatherCondition = weatherCondition;
    }

    public String getWeatherDate() {
        return this.weatherDate;
    }

    public void setWeatherDate(String weatherDate) {
        this.weatherDate = weatherDate;
    }

    public int getWeatherHour() {
        return this.weatherHour;
    }

    public void setWeatherHour(int weatherHour) {
        this.weatherHour = weatherHour;
    }

    public String getTemp() {
        return this.temp;
    }

    public void setTemp(String temp) {
        this.temp = temp;
    }

    public int getWindSpeed() {
        return this.windSpeed;
    }

    public void setWindSpeed(int windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getWindType() {
        return this.windType;
    }

    public void setWindType(String windType) {
        this.windType = windType;
    }

    public int getIsAlert() {
        return this.isAlert;
    }

    public void setIsAlert(int isAlert) {
        this.isAlert = isAlert;
    }

    public String getQueryTime() {
        return this.queryTime;
    }

    public void setQueryTime(String queryTime) {
        this.queryTime = queryTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {

        return new Gson().toJson(this);
    }

}